package com.eshop.modules.mp.service.dto;

import com.eshop.annotation.Query;
import io.swagger.annotations.ApiModelProperty;

public class WechatLiveQueryCriteria
{
    @ApiModelProperty("直播间状态  101：直播中，102：未开始，103 已结束，104 禁播，105：暂停，106：异常，107：已过期")
    @Query
    private Integer liveStatus;
    
    public Integer getLiveStatus() {
        return this.liveStatus;
    }
    
    public void setLiveStatus(final Integer liveStatus) {
        this.liveStatus = liveStatus;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof WechatLiveQueryCriteria)) {
            return false;
        }
        final WechatLiveQueryCriteria other = (WechatLiveQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$liveStatus = this.getLiveStatus();
        final Object other$liveStatus = other.getLiveStatus();
        if (this$liveStatus == null) {
            if (other$liveStatus == null) {
                return true;
            }
        }
        else if (this$liveStatus.equals(other$liveStatus)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof WechatLiveQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $liveStatus = this.getLiveStatus();
        result = result * 59 + (($liveStatus == null) ? 43 : $liveStatus.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "WechatLiveQueryCriteria(liveStatus=" + this.getLiveStatus() + ")";
    }
}
